net.eastol.news.jdo.bean
Class NewsClass

java.lang.Object
  extended bynet.eastol.news.jdo.bean.NewsClass
All Implemented Interfaces:
CommonClass, JDOConst
Direct Known Subclasses:
NewsNClass

public class NewsClass
extends java.lang.Object
implements CommonClass, JDOConst

TODO DOCUMENT ME!

Version:
$Revision $
Author:
acai

Field Summary
 int articleNum
          TODO
 java.util.ArrayList childList
          TODO
 java.lang.String className
          TODO
 java.lang.String headAd
          TODO
 int imgNewsNum
          TODO
 java.util.Date lastUpdate
          TODO
 int listStyle
          TODO
 java.lang.String logo
          TODO
 java.lang.String newsAd
          TODO
 long newsClassId
          TODO
 java.util.ArrayList newsList
          TODO
 int orderId
          TODO
 int styleId
          TODO
 int topicNum
          TODO
 
Constructor Summary
NewsClass()
          Creates a new NewsClass object.
 
Method Summary
 void addChild(NewsClass nc)
          TODO
 void addNews(NewsBean nb)
          TODO
 void delete()
          TODO
 int getArticleNum()
           
 java.util.ArrayList getChildList()
           
 java.lang.String getClassName()
           
 java.lang.String getHeadAd()
           
 int getImgNewsNum()
           
 java.util.Date getLastUpdate()
           
 int getListStyle()
           
 java.lang.String getLogo()
           
 java.lang.String getNewsAd()
           
 long getNewsClassId()
           
 java.util.ArrayList getNewsList()
           
 java.lang.String getObjectId()
          TODO
 int getOrderId()
           
 int getStyleId()
           
 int getTopicNum()
           
 void removeChild(NewsClass nc)
          TODO
 void setArticleNum(int i)
           
 void setClassName(java.lang.String string)
           
 void setHeadAd(java.lang.String string)
           
 void setImgNewsNum(int i)
           
 void setLastUpdate(java.util.Date date)
           
 void setListStyle(int i)
           
 void setLogo(java.lang.String string)
           
 void setNewsAd(java.lang.String string)
           
 void setNewsClassId(long i)
           
 void setObjectId(java.lang.String objectId)
          TODO
 void setOrderId(int i)
           
 void setStyleId(int i)
           
 void setTopicNum(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childList

public java.util.ArrayList childList
TODO


newsList

public java.util.ArrayList newsList
TODO


lastUpdate

public java.util.Date lastUpdate
TODO


className

public java.lang.String className
TODO


headAd

public java.lang.String headAd
TODO


logo

public java.lang.String logo
TODO


newsAd

public java.lang.String newsAd
TODO


articleNum

public int articleNum
TODO


imgNewsNum

public int imgNewsNum
TODO


listStyle

public int listStyle
TODO


orderId

public int orderId
TODO


styleId

public int styleId
TODO


topicNum

public int topicNum
TODO


newsClassId

public long newsClassId
TODO

Constructor Detail

NewsClass

public NewsClass()
Creates a new NewsClass object.

Method Detail

setArticleNum

public void setArticleNum(int i)
Specified by:
setArticleNum in interface CommonClass
Parameters:
i -

getArticleNum

public int getArticleNum()
Specified by:
getArticleNum in interface CommonClass
Returns:
TODO

getChildList

public java.util.ArrayList getChildList()
Returns:
TODO

setClassName

public void setClassName(java.lang.String string)
Specified by:
setClassName in interface CommonClass
Parameters:
string -

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface CommonClass
Returns:
TODO

setHeadAd

public void setHeadAd(java.lang.String string)
Specified by:
setHeadAd in interface CommonClass
Parameters:
string -

getHeadAd

public java.lang.String getHeadAd()
Specified by:
getHeadAd in interface CommonClass
Returns:
TODO

setImgNewsNum

public void setImgNewsNum(int i)
Specified by:
setImgNewsNum in interface CommonClass
Parameters:
i -

getImgNewsNum

public int getImgNewsNum()
Specified by:
getImgNewsNum in interface CommonClass
Returns:
TODO

setLastUpdate

public void setLastUpdate(java.util.Date date)
Specified by:
setLastUpdate in interface CommonClass
Parameters:
date -

getLastUpdate

public java.util.Date getLastUpdate()
Specified by:
getLastUpdate in interface CommonClass
Returns:
TODO

setListStyle

public void setListStyle(int i)
Specified by:
setListStyle in interface CommonClass
Parameters:
i -

getListStyle

public int getListStyle()
Specified by:
getListStyle in interface CommonClass
Returns:
TODO

setLogo

public void setLogo(java.lang.String string)
Specified by:
setLogo in interface CommonClass
Parameters:
string -

getLogo

public java.lang.String getLogo()
Specified by:
getLogo in interface CommonClass
Returns:
TODO

setNewsAd

public void setNewsAd(java.lang.String string)
Specified by:
setNewsAd in interface CommonClass
Parameters:
string -

getNewsAd

public java.lang.String getNewsAd()
Specified by:
getNewsAd in interface CommonClass
Returns:
TODO

setNewsClassId

public void setNewsClassId(long i)
Specified by:
setNewsClassId in interface CommonClass
Parameters:
i -

getNewsClassId

public long getNewsClassId()
Specified by:
getNewsClassId in interface CommonClass
Returns:
TODO

getNewsList

public java.util.ArrayList getNewsList()
Returns:
TODO

setObjectId

public void setObjectId(java.lang.String objectId)
TODO

Parameters:
objectId - TODO

getObjectId

public java.lang.String getObjectId()
                             throws com.justhis.util.exception.UtilException
Description copied from interface: JDOConst
TODO

Specified by:
getObjectId in interface JDOConst
Returns:
TODO
Throws:
com.justhis.util.exception.UtilException - TODO
See Also:
JDOConst.getObjectId()

setOrderId

public void setOrderId(int i)
Specified by:
setOrderId in interface CommonClass
Parameters:
i -

getOrderId

public int getOrderId()
Specified by:
getOrderId in interface CommonClass
Returns:
TODO

setStyleId

public void setStyleId(int i)
Specified by:
setStyleId in interface CommonClass
Parameters:
i -

getStyleId

public int getStyleId()
Specified by:
getStyleId in interface CommonClass
Returns:
TODO

setTopicNum

public void setTopicNum(int i)
Specified by:
setTopicNum in interface CommonClass
Parameters:
i -

getTopicNum

public int getTopicNum()
Specified by:
getTopicNum in interface CommonClass
Returns:
TODO

addChild

public void addChild(NewsClass nc)
TODO

Parameters:
nc - TODO

addNews

public void addNews(NewsBean nb)
TODO

Parameters:
nb - TODO

delete

public void delete()
Description copied from interface: JDOConst
TODO

Specified by:
delete in interface JDOConst
See Also:
JDOConst.delete()

removeChild

public void removeChild(NewsClass nc)
                 throws com.justhis.util.exception.UtilException
TODO

Parameters:
nc - TODO
Throws:
com.justhis.util.exception.UtilException - TODO


Copyright © 2003 EastNetworks.Net(China)Co.,Ltd.. All Rights Reserved.